import request from '@/utils/request'

//影片管理搜索接口
export function querylinkStatistics(data) {
  return request({
    url: '/operations/link_statistics/query_list',
    method: 'post',
    data,
  })
}
//影片管理搜索接口
export function queryChannelList(data) {
  return request({
    url: '/operations/channel/query_list',
    method: 'post',
    data,
  })
}

export function addChannelform(data) {
  return request({
    url: '/operations/channel/add_item',
    method: 'post',
    data,
  })
}

export function editChannelform(data) {
  return request({
    url: '/operations/channel/edit_item',
    method: 'post',
    data,
  })
}

//推广链接管理搜索接口
export function queryLinkArr(data) {
  return request({
    url: '/operations/link/query_list',
    method: 'post',
    data,
  })
}

export function addLinkForm(data) {
  return request({
    url: '/operations/link/add_item',
    method: 'post',
    data,
  })
}

export function editLinkForm(data) {
  return request({
    url: '/operations/link/edit_item',
    method: 'post',
    data,
  })
}
